﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Services.AdminUser.Dto.SaveDto
{
    public class OrgInsuranceSupplierSaveDto
    {
        public int Id { get; set; }
        #region model


        /// <summary>
        /// 默认绑定保险信息;org_insurance_setting主键
        /// </summary>
        public int SettingId { get; set; }

        /// <summary>
        /// 组织机构Id;社id
        /// </summary>
        public int OrgId { get; set; }

        /// <summary>
        /// 供应商Id;SRM的supplier_info的主键
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 产品供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 是否排除供应商所有区域;true时排除供应商所有区域 ,false按此供应商区域排除
        /// </summary>
        public bool IsExcludeSupplier { get; set; }

        /// <summary>
        /// 是否删除;1是0否
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 1新增 2修改 3删除
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 供应商的区域  IsExcludeSupplier 为true时此集合数据不存在意义
        /// </summary>
        public List<OrgInsuranceSupplierAreaSaveDto> OrgInsuranceSupplierAreas { get; set; }
        #endregion
        #region extend
        #endregion
    }
}
